#include "StdAfx.h"
#include "defence.h"
#include "defender.h"					//for port definitions
#include "machine/defendermachine.h"

static highscore_t highscore[] =
	{
//	{0xB260,0x60,0x00,0x48},
	{0,-1}
	};

Cdefence::Cdefence()
{
SetName("defence");						//set romset name
SetScreen(304,256);
SetHighScoreInfo(highscore);
SetPort(0,&defenderPort1);
SetPort(1,&defenderPort2);
SetPort(2,&defenderPort3);
AddROM("1",					0x0D000,0x1000,0xebc93622,ROM_CPU1);
AddROM("2",					0x0E000,0x1000,0x2a4f4f44,ROM_CPU1);
AddROM("3",					0x0F000,0x1000,0xa4112f91,ROM_CPU1);
AddROM("0",					0x10000,0x0800,0x7a1e5998,ROM_CPU1);
AddROM("7",					0x10800,0x0800,0x4c2616a3,ROM_CPU1);
AddROM("9",					0x11000,0x0800,0x7b146003,ROM_CPU1);
AddROM("6",					0x11800,0x0800,0x6d748030,ROM_CPU1);
AddROM("8",					0x12000,0x0800,0x52d5438b,ROM_CPU1);
AddROM("5",					0x12800,0x0800,0x4a270340,ROM_CPU1);
AddROM("4",					0x16000,0x0800,0xe13f457c,ROM_CPU1);
AddROM("defcmnda.snd",	0x0F800,0x0800,0xf122d9c9,ROM_CPU2);
}

CMachine *Cdefence::CreateMachine()
{
return(new CDefenderMachine());
}
